-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use shipped FSharp.Core when using FSharp.Compiler.Service.sln #12149
Conversation
@dsyme Thanks a lot! |
How does this change interact with preview features like the resumable code builders, which may not be in the currently published FSharp.Core? I was expecting there to be failures or mismatches there. |
The code of FCS currently builds without using these features Note this is only when explicitly building src/fsharp/FSharp.Compiler.Service/FSharp.Compiler.Service.sln, which is not a mainline path, just a developer-friendly path |
@dsyme This doesn't seem to fix #12142, and the errors are still there in the tooling. The error in #12142 comes from a recent change in FSharp.Core that hasn't been published in a stable FSharp.Core version yet. #11888 changed both FSharp.Core and FCS code, which made FCS rely on a non-stable-published-yet FSharp.Core version. |
It seems wrong that FCS solution actually builds despite the errors in the tools. It seems it uses another FSharp.Core reference for build. |
Really? My impression is that this PR means that when using FSharp.Compiler.Service.sln, a public FSharp.Core is now referenced. Can you send build logs and/or any other information showing the references being used in the IDE? Also is the IDE Rider, and does that set SolutionName correctly when interpreting the project files? Maybe you need to do a flush and restore? |
I see, so this passes because it doesn't build using FSharp.Compiler.Service.sln We should
|
The issue occurs in both Visual Studio and Rider for me. I've just tried to |
We do build it on Windows, Linux and macOS on CI, see Line 395 in 63bef2c
But the problem only occurs in ide, as far as I understand. |
It seems this change does a wrong thing? The preview package is exactly what should've been used (the preview of 5.0.3, needed for the recent FSharp.Core changes) instead of the published release package (5.0.2). |
Fixes #12142
cc @KevinRansom @auduchinok